/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.grid.gui;

import java.awt.Component;
import javax.swing.JOptionPane;

/**
 *
 * @author wellington
 */
public class MessageBox {

    public static void showError(Component parentComponent, Object message){
        JOptionPane.showMessageDialog(parentComponent, message, "Erro", JOptionPane.ERROR_MESSAGE);
    }
}
